<div class="grid_9">
<?php if($this->session->flashdata('type')): ?>
	<div class="<?php echo $this->session->flashdata('type')?>"><?php echo $this->session->flashdata('msg')?></div>
<?php endif; ?>
<div class="inner-border">
<h6>Fee Creator</h6>
<?php if(!empty($db_entries)): ?>
<table>
<thead>
	<th class="level">Fees</th>
	<th class="fee_edit">Rate</th>
	<th class="fee_edit"></th>
	<th class="fee_delete"></th>
</thead>

<tbody class="tabular">
	
	<?php foreach($db_entries as $db_entry):?>
		
    	<tr>
        	<td><?php echo $db_entry->fee_name; ?></td>
        	<td><?php echo $db_entry->fee_rate; ?></td>
			<td><a href="<?php echo site_url('admin/edit_fee/'.$db_entry->fee_id)?>">Edit</a></td>
            <td><a href="<?php echo site_url('post/delete_fee/'.$db_entry->fee_id)?>" class="del-btn" onClick='return delete_item("<?php echo $db_entry->fee_name; ?>")'>Delete</a></td>
    	</tr>
		
    <?php endforeach ?>
	

 <?php else: ?>
    <div class="notice">NO Data Available</div>
 <?php endif ?>

</tbody>
</table>
		
<a href="<?php echo site_url('admin/add_fee') ?>" class="btn">Add Fee</a>
</div>
</div>